<div class="your-tasks">
<h4>Your Tasks</h4>
<ul>
	<?php foreach($user_tasks as $task):?>
	<li>
		<label>
			<input type="checkbox" id="complete_task_<?php echo $task->getId() ?>" class="complete_task_box" value="<?php echo $task->getId()?>" name="complete_task"/>
			<a class="user-task-resource" href="#"><?php echo ucwords($task->getResource()).':'?></a>
			<?php echo $task->getName()?>
			<span class="due-date">Due <?php echo render_task_due_date($task->getDueDate('c'))?></span>

		<span>										
			<?php echo image_tag('ajax-loader_small.gif', 
					array('id' => 'task_loading_'.$task->getId(), 'style' => 'display: none;')) ?>
			<span id="status_update_<?php echo $task->getId() ?>" class="update_status" style="display: none;"></span>
			 
		</span>

		</label>

	</li>
	<?php endforeach?>
</ul>
</div>